#define _CRT_SECURE_NO_WARNINGS 1
#include"Queue.h"

int main()
{
	Queue p;
	QueueInit(&p);
	QueuePush(&p, 1);
	QueuePush(&p, 3);
	QueuePush(&p, 1);
	QueuePush(&p, 4);
	QueuePush(&p, 5);
	QueuePush(&p, 2);
	QueuePush(&p, 0);

	printf("%d\n", QueueFront(&p));
	printf("%d\n", QueueBack(&p));

	QueuePop(&p);
	QueuePop(&p);
	QueuePop(&p);
	QueuePop(&p);

	printf("%d\n", QueueFront(&p));

	printf("%d\n",QueueEmpty(&p));

	printf("%d\n", QueueSize(&p));

	QueueDestroy(&p);
	return 0;
}